From: Jim Blandy Date: Wed, 30 Jun 1993 21:30:25 +0000 (+0000) Subject: * xdisp.c (redisplay): If we're not already showing the region, X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95123 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=82d04750c707566019f34b3fd979758b0170b403;p=emacs.git * xdisp.c (redisplay): If we're not already showing the region, then don't disable the single-line optimizations just because the mark isn't where we last displayed it. --- diff --git a/src/xdisp.c b/src/xdisp.c index 33e58eb95f4..a716a25c3e5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -435,8 +435,9 @@ redisplay () if (((!NILP (Vtransient_mark_mode) && !NILP (XBUFFER (w->buffer)->mark_active)) != !NILP (w->region_showing)) - || !EQ (w->region_showing, - Fmarker_position (XBUFFER (w->buffer)->mark))) + || (!NILP (w->region_showing) + && !EQ (w->region_showing, + Fmarker_position (XBUFFER (w->buffer)->mark)))) this_line_bufpos = -1; tlbufpos = this_line_bufpos;